package com.sz.admin.sysuseremployee.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.sz.core.common.entity.PageQuery;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
/**
 * <p>
 * SysUserEmployee查询DTO
 * </p>
 *
 * @author sz-admin
 * @since 2025-09-04
 */
@Data
@Schema(description = "SysUserEmployee查询DTO")
public class SysUserEmployeeListDTO extends PageQuery {

    @Schema(description =  "用户名")
    private String username;

    @Schema(description =  "密码")
    private String pwd;

    @Schema(description =  "手机号")
    private String phone;

    @Schema(description =  "昵称")
    private String nickname;

    @Schema(description =  "性别(0 未知 1 男 2 女)")
    private Integer sex;

    @Schema(description =  "生日")
    private String birthday;

    @Schema(description =  "头像地址")
    private String logo;

    @Schema(description =  "年龄，--废弃，以生日为主")
    private Integer age;

    @Schema(description =  "身份证")
    private String idCard;

    @Schema(description =  "邮箱地址")
    private String email;

    @Schema(description =  "账户状态 (如 冻结；禁言；正常。 关联字典表account_status)")
    private String accountStatusCd;

    @Schema(description =  "标签（自定义关联到字典表）")
    private String userTagCd;

    @Schema(description =  "最近一次登录时间开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastLoginTimeStart;

    @Schema(description =  "最近一次登录时间结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastLoginTimeEnd;

}